package com.freeng.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.freeng.common.annotation.Excel;
import com.freeng.common.core.domain.BaseEntity;

/**
 * 预警提示对象 system_notification
 * 
 * @author freeng
 * @date 2024-09-10
 */
public class SystemNotification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 代理id */
    @Excel(name = "代理id")
    private Long agentId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long ownerId;

    /** 消息类型 */
    @Excel(name = "消息类型")
    private String noticType;

    /** 消息级别 */
    @Excel(name = "消息级别")
    private String noticLevel;

    /** 消息码 */
    @Excel(name = "消息码")
    private String msgCode;

    /** 消息 */
    @Excel(name = "消息")
    private String message;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String reference;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer isSendSms;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer isSendWechat;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAgentId(Long agentId) 
    {
        this.agentId = agentId;
    }

    public Long getAgentId() 
    {
        return agentId;
    }
    public void setOwnerId(Long ownerId) 
    {
        this.ownerId = ownerId;
    }

    public Long getOwnerId() 
    {
        return ownerId;
    }
    public void setNoticType(String noticType) 
    {
        this.noticType = noticType;
    }

    public String getNoticType() 
    {
        return noticType;
    }
    public void setNoticLevel(String noticLevel) 
    {
        this.noticLevel = noticLevel;
    }

    public String getNoticLevel() 
    {
        return noticLevel;
    }
    public void setMsgCode(String msgCode) 
    {
        this.msgCode = msgCode;
    }

    public String getMsgCode() 
    {
        return msgCode;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }
    public void setReference(String reference) 
    {
        this.reference = reference;
    }

    public String getReference() 
    {
        return reference;
    }
    public void setIsSendSms(Integer isSendSms) 
    {
        this.isSendSms = isSendSms;
    }

    public Integer getIsSendSms() 
    {
        return isSendSms;
    }
    public void setIsSendWechat(Integer isSendWechat) 
    {
        this.isSendWechat = isSendWechat;
    }

    public Integer getIsSendWechat() 
    {
        return isSendWechat;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agentId", getAgentId())
            .append("ownerId", getOwnerId())
            .append("noticType", getNoticType())
            .append("noticLevel", getNoticLevel())
            .append("msgCode", getMsgCode())
            .append("message", getMessage())
            .append("reference", getReference())
            .append("isSendSms", getIsSendSms())
            .append("isSendWechat", getIsSendWechat())
            .append("createTime", getCreateTime())
            .toString();
    }
}
